﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyFitness.Model
{
    partial class TraineeRecord
    {
        # region Declared Variables
        # endregion

        /// <summary>
        /// Constructor that creates a TraineeRecord by date.
        /// </summary>
        /// <param name="d">The date that represents when the training occurred.</param>
        public TraineeRecord(DateTime d) : this()
        {
            Date = d;
            Id = Guid.NewGuid();
        }
    }
}
